package xyz.zichengdulin.utils;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Data
@Component
@ConfigurationProperties(prefix = "aliyun.oss") //将application.yml中对应前缀的属性值映射到该类中
public class AliyunOSSProperties {
    private String endpoint;
    private String bucketName;
    private String region;
}
